package com.smart.campus.service.impl;

import com.smart.campus.dao.EthnicityMapper;
import com.smart.campus.dto.Ethnicity;
import com.smart.campus.service.EthnicityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EthnicityServiceImpl implements EthnicityService {
    @Autowired
    private EthnicityMapper ethnicityMapper;

    @Override
    public List<Ethnicity> findEthnicityList() {
        return ethnicityMapper.selectList(null);
    }
}
